import Vue from "vue";
import Vuex from "vuex";
import Cart from "./Cart";
import Product from "./Product";
Vue.use(Vuex);

export default new Vuex.Store({//根Store rootStore
  state: {
    
  },
  mutations: {
    SET_PRODUCT(){

    },
    
  },
  actions: {
    
  },
  getters: {
    
  },
  modules: {  //模块化
    Product,
    Cart,
  },
  plugin:[],
});
